{include file=header.html}
<div class="store_info" {if $store.wap_banner}style="background-image:url('{$site_url}/{$store.wap_banner}?{$random_number}')"{/if}>
     <div class='banner-mask'></div>
    <div class="info">
        <a class="store-block">
            <img class="img" src="{$site_url}/{$store.store_logo}"/>
            <div class="store-text">
                <div class="store-name">{$store.store_name}</div>
                <div class="store-info ">{$store.collect_count}{$lang.renguanzhu}</div>
            </div>
            <a href='javascript:{if $store_collected}un{/if}collect_store({$store.store_id})' class='guanzhu iconfont store_collect_btn {if $store_collected}active{/if}'>&#xf003e;{$lang.guanzhu}</a>
        </a>
    </div>
</div>
<div class='store_goods_count'>
<div class="border-grids total-section">
            <div class="ui-flex total-centent">
                <a href="index.php?app=store&act=search&id={$store.store_id}" class="cell">
                    <span class="total-num">{$store.all_goods_count}</span>
                    <span class="total-text">{$lang.all_goods}</span>
                </a>
                <a href="index.php?app=store&act=search&id={$store.store_id}&type=new" class="cell">
                    <span class="total-num">{$store.new_goods_count}</span>
                    <span class="total-text">{$lang.new}</span>
                </a>
		<a href="index.php?app=store&act=search&id={$store.store_id}&type=hot" class="cell">
                    <span class="total-num">{$store.hot_goods_count}</span>
                    <span class="total-text">{$lang.sell_hot}</span>
                </a>
				            </div>
        </div>
</div>
<div class="col-0" area="col-0" data-position="0" widget_type="area">
            <!--{widgets page=index area=col-0}-->
</div>
<!-----列表--------->
<!--{if $recommended_goods}-->
<div class="lists">
    <h3><p>{$lang.shopwindow_recommended}</p></h3>
    <ul>
        <!--{foreach from=$recommended_goods item=rgoods}-->
        <a href="{url app=goods&id=$rgoods.goods_id}">
            <li>
                <img src="{$site_url}/{$rgoods.default_image}" />
                <p>{$rgoods.goods_name|escape}</p>
                <span>{$rgoods.price|price}</span>
            </li>
        </a>
        <!-- {/foreach} -->
    </ul>
</div>
<!--{/if}-->
<!--{if $new_goods}-->
<div class="lists">
    <h3><p>{$lang.new_arrival}</p></h3>
    <ul>
        <!--{foreach from=$new_goods item=ngoods}-->
        <a href="{url app=goods&id=$ngoods.goods_id}">
            <li>
                <img src="{$site_url}/{$ngoods.default_image}" />
                <p>{$ngoods.goods_name|escape}</p>
                <span>{$ngoods.price|price}</span>
            </li>
        </a>
        <!--{/foreach}-->
    </ul>
</div>
<!--{/if}-->
{include file=footer.html}


